Windows下运行Hadoopclient问题FileNotFoundException:HADOOP |
您所在的位置:网站首页 › hadoop_home or hadoophomedir › Windows下运行Hadoopclient问题FileNotFoundException:HADOOP |
解决方案: Problems running Hadoop on Windows Hadoop requires native libraries on Windows to work properly -that includes to access the file:// filesystem, where Hadoop uses some Windows APIs to implement posix-like file access permissions. 1、This is implemented in HADOOP.DLL and WINUTILS.EXE. 2、In particular, %HADOOP_HOME%\BIN\WINUTILS.EXE must be locatable. If it is not, Hadoop or an application built on top of Hadoop will fail. How to fix a missing WINUTILS.EXE You can fix this problem in two ways 1、Install a full native windows Hadoop version. The ASF does not currently (September 2015) release such a version; releases are available externally. 2、Or: get the WINUTILS.EXE binary from a Hadoop redistribution. There is a repository of this for some Hadoop versions on github. Then 1、将HADOOP.DLL放到system32中(重要) 2、Set the environment variable %HADOOP_HOME% to point to the directory above the BIN dir containing WINUTILS.EXE. 3、Or: run the Java process with the system property hadoop.home.dir set to the home directory. 原文地址 |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |